package com.ming.easyDevelop.service;

import com.ming.easyDevelop.entity.po.OrderDetails;
import com.ming.easyDevelop.entity.query.OrderDetailsQuery;
import java.util.List;
import com.ming.easyDevelop.entity.vo.PaginationResVo;
import java.math.BigDecimal;
public interface OrderDetailsService {
	/**
	 * 根据条件查询列表
	 */
	List<OrderDetails> findListByParam(OrderDetailsQuery query);

	/**
	 * 根据条件查询数量
	 */
	Long findCountByParam(OrderDetailsQuery query);

	/**
	 * 根据条件分页查询列表
	 */
	PaginationResVo<OrderDetails> findListByPage(OrderDetailsQuery query);

	/**
	 * 批量新增
	 */
	Long addBatch(List<OrderDetails> list);

	/**
	 * 新增
	 */
	Long add(OrderDetails bean);

	/**
	 * 新增
	 */
	Long addOrUpdate(OrderDetails bean);

	/**
	 * 新增
	 */
	Long addOrUpdateBatch(List<OrderDetails> list);

	/**
	 * 根据OrderDetailID查询
	 */
	OrderDetails getByOrderDetailID(Integer OrderDetailID);

	/**
	 * 根据OrderDetailID更新
	 */
	Long updateByOrderDetailID(OrderDetails bean, Integer OrderDetailID);

	/**
	 * 根据OrderDetailID删除
	 */
	Long deleteByOrderDetailID(Integer OrderDetailID);

}
